/**
 * Created by zhaojing on 2017/11/22.
 */


import ajax from '../../../grsc-base/util/ajax';

export default {

    /**
     * 售出广告查询
     * @param param
     * @returns {*}
     */
    sellAdvertQuery(param = {}) {
        return ajax.get('/c2cApi/c2cselladvert/advert-query', {
            data: param
        });
    },



    /**
     * 求购广告查询
     * @param param
     * @returns {*}
     */
    buyAdvertQuery(param = {}) {
        return ajax.get('/c2cApi/c2cbuyadvert/advert-query', {
            data: param
        });
    },

    /**
     * 金牌卖家信息
     * */

    goldenQuery(param = {}) {
        return ajax.get('/c2cApi/c2cgoldenseller/golden-query', {
            data: param
        });
    },


    /**
     * 金牌确认购买
     * */

    goldenBuy(param = {}) {
        return ajax.get('/c2cApi/c2cgoldenseller/golden-buy', {
            data: param
        });
    },


    /**
     * 查看次数
     * */
    countQuery(param = {}) {
        return ajax.get('/c2cApi/c2cbasicinfo/count-query', {
            data: param
        });
    },


    /***
     * 申訴
     * **/
    orderComplaint(param = {}) {
        return ajax.post('/c2cApi/c2ccomplaint/complaint-add', {
            data: param
        });
    },






};